package com.kwq.designPattern.construct.proxy;

import lombok.Data;

/**
 * @author kangwanqiang
 * @date 2021/2/9
 */
@Data
public class JDKProxy implements Image{
    private String fileName;

    public JDKProxy(String fileName){
        this.fileName = fileName;
    }

    @Override
    public void display() {
        System.out.println("jdk");
    }
}
